#include <iostream>
#include <math.h>
#define int double
using namespace std;


signed main(){
	signed n,k;
	cin>>n>>k;
	int a[n];
	int l=0,r=0,mid;
	for(signed i=0;i<n;i++){
		cin>>a[i];
		r = max(r,a[i]);
	}
	while(r-l >= 0.01){
		signed sum=0;
		mid = (l+r)/2;
		for(signed i=0;i<n;i++)
			sum += a[i]/mid;
		if(sum >= k)
			l = mid;
		else
			r = mid;
	}
	signed sum=0;
	for(signed i=0;i<n;i++){
		sum += floor(a[i]/r);
//		cout<<sum<<endl;
	}
//	cout<<endl;
	signed b;
	b = l*100;
	l = b/100.0;
	b = r*100;
	r = b/100.0;
//	cout<<sum<<endl;
	if(sum < k)
		printf("%.2f",l);
	else
		printf("%.2f",r);
	return 0;
}
